Optimal. Leaf size=104 \[ \frac {x^3}{9}+\frac {\tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{3\ 6^{3/4}}-\frac {\tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{3\ 6^{3/4}}-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 7, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.538, Rules used = {327, 303,
1176, 631, 210, 1179, 642} \begin {gather*} \frac {\text {ArcTan}\left (1-\sqrt [4]{6} x\right )}{3\ 6^{3/4}}-\frac {\text {ArcTan}\left (\sqrt [4]{6} x+1\right )}{3\ 6^{3/4}}+\frac {x^3}{9}-\frac {\log \left (3 x^2-6^{3/4} x+\sqrt {6}\right )}{6\ 6^{3/4}}+\frac {\log \left (3 x^2+6^{3/4} x+\sqrt {6}\right )}{6\ 6^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 303
Rule 327
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {x^6}{2+3 x^4} \, dx &=\frac {x^3}{9}-\frac {2}{3} \int \frac {x^2}{2+3 x^4} \, dx\\ &=\frac {x^3}{9}+\frac {\int \frac {\sqrt {2}-\sqrt {3} x^2}{2+3 x^4} \, dx}{3 \sqrt {3}}-\frac {\int \frac {\sqrt {2}+\sqrt {3} x^2}{2+3 x^4} \, dx}{3 \sqrt {3}}\\ &=\frac {x^3}{9}-\frac {1}{18} \int \frac {1}{\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx-\frac {1}{18} \int \frac {1}{\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx-\frac {\int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}+2 x}{-\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{6\ 6^{3/4}}-\frac {\int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}-2 x}{-\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{6\ 6^{3/4}}\\ &=\frac {x^3}{9}-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt [4]{6} x\right )}{3\ 6^{3/4}}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt [4]{6} x\right )}{3\ 6^{3/4}}\\ &=\frac {x^3}{9}+\frac {\tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{3\ 6^{3/4}}-\frac {\tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{3\ 6^{3/4}}-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{6\ 6^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 98, normalized size = 0.94 \begin {gather*} \frac {1}{36} \left (4 x^3+2 \sqrt [4]{6} \tan ^{-1}\left (1-\sqrt [4]{6} x\right )-2 \sqrt [4]{6} \tan ^{-1}\left (1+\sqrt [4]{6} x\right )-\sqrt [4]{6} \log \left (2-2 \sqrt [4]{6} x+\sqrt {6} x^2\right )+\sqrt [4]{6} \log \left (2+2 \sqrt [4]{6} x+\sqrt {6} x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 99, normalized size = 0.95
method | result | size |
risch | \(\frac {x^{3}}{9}-\frac {\left (\munderset {\textit {\_R} =\RootOf \left (3 \textit {\_Z}^{4}+2\right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{\textit {\_R}}\right )}{18}\) | \(30\) |
default | \(\frac {x^{3}}{9}-\frac {\sqrt {3}\, 6^{\frac {3}{4}} \sqrt {2}\, \left (\ln \left (\frac {x^{2}-\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}{x^{2}+\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}-1\right )\right )}{216}\) | \(99\) |
meijerg | \(\frac {54^{\frac {3}{4}} \left (\frac {2 x^{3} 2^{\frac {1}{4}} 3^{\frac {3}{4}}}{3}-\frac {x^{3} 2^{\frac {1}{4}} 3^{\frac {3}{4}} \left (\frac {2^{\frac {1}{4}} 27^{\frac {3}{4}} \ln \left (1-6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}+\frac {2 \,2^{\frac {1}{4}} 27^{\frac {3}{4}} \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8-3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}-\frac {2^{\frac {1}{4}} 27^{\frac {3}{4}} \ln \left (1+6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}+\frac {2 \,2^{\frac {1}{4}} 27^{\frac {3}{4}} \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8+3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{27 \left (x^{4}\right )^{\frac {3}{4}}}\right )}{2}\right )}{324}\) | \(195\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 126, normalized size = 1.21 \begin {gather*} \frac {1}{9} \, x^{3} - \frac {1}{18} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x + 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) - \frac {1}{18} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x - 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {1}{36} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \log \left (\sqrt {3} x^{2} + 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) - \frac {1}{36} \cdot 3^{\frac {1}{4}} 2^{\frac {1}{4}} \log \left (\sqrt {3} x^{2} - 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 165 vs.
\(2 (73) = 146\).
time = 0.36, size = 165, normalized size = 1.59 \begin {gather*} \frac {1}{9} \, x^{3} + \frac {1}{162} \cdot 54^{\frac {3}{4}} \sqrt {2} \arctan \left (\frac {1}{54} \cdot 54^{\frac {3}{4}} \sqrt {3} \sqrt {2} \sqrt {3 \, x^{2} + 54^{\frac {1}{4}} \sqrt {2} x + \sqrt {6}} - \frac {1}{18} \cdot 54^{\frac {3}{4}} \sqrt {2} x - 1\right ) + \frac {1}{162} \cdot 54^{\frac {3}{4}} \sqrt {2} \arctan \left (\frac {1}{54} \cdot 54^{\frac {3}{4}} \sqrt {3} \sqrt {2} \sqrt {3 \, x^{2} - 54^{\frac {1}{4}} \sqrt {2} x + \sqrt {6}} - \frac {1}{18} \cdot 54^{\frac {3}{4}} \sqrt {2} x + 1\right ) + \frac {1}{648} \cdot 54^{\frac {3}{4}} \sqrt {2} \log \left (36 \, x^{2} + 12 \cdot 54^{\frac {1}{4}} \sqrt {2} x + 12 \, \sqrt {6}\right ) - \frac {1}{648} \cdot 54^{\frac {3}{4}} \sqrt {2} \log \left (36 \, x^{2} - 12 \cdot 54^{\frac {1}{4}} \sqrt {2} x + 12 \, \sqrt {6}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.17, size = 92, normalized size = 0.88 \begin {gather*} \frac {x^{3}}{9} - \frac {\sqrt [4]{6} \log {\left (x^{2} - \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{36} + \frac {\sqrt [4]{6} \log {\left (x^{2} + \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{36} - \frac {\sqrt [4]{6} \operatorname {atan}{\left (\sqrt [4]{6} x - 1 \right )}}{18} - \frac {\sqrt [4]{6} \operatorname {atan}{\left (\sqrt [4]{6} x + 1 \right )}}{18} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 100, normalized size = 0.96 \begin {gather*} \frac {1}{9} \, x^{3} - \frac {1}{18} \cdot 6^{\frac {1}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) - \frac {1}{18} \cdot 6^{\frac {1}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{36} \cdot 6^{\frac {1}{4}} \log \left (x^{2} + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) - \frac {1}{36} \cdot 6^{\frac {1}{4}} \log \left (x^{2} - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 38, normalized size = 0.37 \begin {gather*} \frac {x^3}{9}+6^{1/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {1}{18}+\frac {1}{18}{}\mathrm {i}\right )+6^{1/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {1}{18}-\frac {1}{18}{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________